﻿@model DevWeb.Biztalk.DeploymentSettings.WebUI.Models.IntegrationVersionViewModel

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Integrationversion </legend>
        
        

        <div class="editor-label">
            @Html.LabelFor(model => model.IntegrationName)
        </div>
        <div class="editor-field">
            @Html.DisplayTextFor(model => model.IntegrationName)
          
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProductId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProductId)
            @Html.ValidationMessageFor(model => model.ProductId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Version)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Version)
            @Html.ValidationMessageFor(model => model.Version)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

       

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateDateTime)
        </div>
        <div class="editor-field">
            @Html.DisplayTextFor(model => model.CreateDateTime)
         
        </div>
        @Html.HiddenFor(model => model.IntegrationId)
        @Html.HiddenFor(model => model.ProductUpgradeCode)
        @Html.HiddenFor(model => model.CreateDateTime)
        @Html.HiddenFor(model => model.IntegrationName)
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index", new{id= Model.IntegrationId})
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}